﻿@model RSSReader.WebClient.Models.FeedSource

@if (Model != null)
{
  <li class="Source" onclick="SelectSource(this);" onmouseover="MenuMouseOver(this);" onmouseout="MenuMouseOut(this);">
    <div style="display:inline-block;width:calc(100% - 20px);" title="@Model.Description">
      @Model.Title
    </div>
    <input type="hidden" class="FeedSourceLink" value="@Model.Link" />
    <input type="hidden" class="FeedSourceTitle" value="@Model.Title" />
    <span class="glyphicon glyphicon-remove DeleteButton" style="display:none;" onclick="UnsubscribeFrom('@Model.Link', this, event);"></span>
  </li>
}
else
{
  <div id="SourceErrorMessage">
    Source non valide
  </div>
}